﻿<?php echo $this->doctype() ?>
<html>
<head>
    
    <title>Cong thong tin game, ung dung, lam viec online, kiem tien online, game android, android game , tai game android, download game java, huong dan cai dat game java game android, linkseo, quang ba web</title>
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
    <meta name="keywords" content="linkseo, kiem tien online, game java,game android, seo game, ung dung, tai game free, top game, top ung dung" />	
    <meta name="description" content="Cong thong tin game, ung dung, lam viec online, kiem tien online, game android, android game , tai game android, download game java, huong dan cai dat game java game android, linkseo, quang ba web" />
    <meta name="generator" content="linkseo - Zend FW" />
	<script type="text/javascript">

        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-22041922-4']);
        _gaq.push(['_trackPageview']);
        
        (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();

    </script>
   	<?php echo $this->headScript() ?>
    <?php echo $this->headLink()?>
</head>
<body>
<?php  $auth = new AuthModel();?>
    <div id="wapper">
        <div id="header" >
            <table id="main_header" cellpadding="0" cellspacing="0" >
                <tbody>
                    <tr>
                        <td>                                                
                            <a id="logo" href="/">
                                <span>ji</span>
                            </a>
                        </td>                        
                        <?php 
                            
                            $auth = new AuthModel();
                            if($auth->hasIdentity()){
                                $user = $auth->getIdentity();
                        ?>
                        <td>                        
                            <a id="about" class="more_tab" href="/mobi/index/about">   
                                <span class="btn_about">
                                    <i></i>
                                </span>
                                <span>
                                    Giới thiệu
                                </span>
                            </a>
                        </td>
                        <td>                                                
                            <a id="login" class="more_tab" href="/mobi/index/selected-link">   
                                <span class="btn_login">
                                    <i></i>
                                </span>
                                <span>
                                    <?php //echo substr($user["email"], 0, 8)."..";?>
                                    Sản lượng
                                </span>
                            </a>
                        </td> 
                        <td>                        
                            <a id="logout" class="more_tab" href="/mobi/index/logout">   
                                <span class="btn_logout">
                                    <i></i>
                                </span>
                                <span>
                                    Thoát
                                </span>
                            </a>
                        </td>
                        <td>                                                
                            <a id="extend" class="more_tab" href="/mobi/index/extend" class="last_child">   
                                <span class="btn_extend">
                                    <i></i>
                                </span>
                                <span>
                                    Mở rộng
                                </span>
                            </a>  
                        </td>  
                        <?php }else{?> 
                        <td>                        
                            <a id="about" href="/mobi/index/about">   
                                <span class="btn_about">
                                    <i></i>
                                </span>
                                <span>
                                    Giới thiệu
                                </span>
                            </a>
                        </td>
                        <td>                                                
                            <a id="login" href="/mobi/index/login">   
                                <span class="btn_login">
                                    <i></i>
                                </span>
                                <span>
                                    Đăng nhập 
                                </span>
                            </a>  
                        </td>
                        <td>                                                
                            <a id="extend" href="/mobi/index/extend" class="last_child">   
                                <span class="btn_extend">
                                    <i></i>
                                </span>
                                <span>
                                    Mở rộng
                                </span>
                            </a> 
                        </td>  
                        <?php }//end if?>
                    </tr>                
                </tbody>                
           </table>
        </div>
        <!-- end #header -->
        <div id="content">
            <?php echo $this->layout()->content; ?>
        </div>
        <!-- end #content -->
        <div id="footer">
           © Copyright 2012 Linkseo.info 
        </div>
        <!-- end #footer -->
        <div id="menubottom">
			<?php include 'components/menubottom2.phtml'?>
		</div>
    </div>
    <!-- end #wrapper -->    
</body>
</html>
